package com.guchenbo.example.io;

/**
 * @author guchenbo
 * @date 2022/4/29
 */
public interface GuSerializer<T> {

    /**
     * 序列化
     *
     * @param data
     * @return
     */
    byte[] serialize(T data);
}
